package org.example.service;

import org.example.entity.CommonResult;
import org.example.entity.LoginInfo;
import org.example.entity.User;

/**
* @author hasee
* &#064;description  针对表【User】的数据库操作Service
* &#064;createDate  2022-09-07 09:34:14
 */
public interface UserService {

    CommonResult<Integer> register(User user);

    CommonResult<Integer> updateUser(User user);

    CommonResult<Object> login(LoginInfo loginInfo);

    CommonResult<String> logout();
}
